package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.User;

import java.util.List;

public interface UserService {
    PageInfo<User> findByPage(int currentPage, int pageSize);

    void save(User user);

    User findById(String id);

    void update(User user);

    void delete(String[] ids);

    List<User> findAll();


}
